package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.DiscardDefectReq;
import com.ruibang.glass.quality.domain.req.EverydayDiscardDefectReq;
import com.ruibang.glass.quality.entity.EverydayDiscardDefect;
import com.teaming.cloud.framework2.common.model.ResultBody;

import java.util.ArrayList;
import java.util.List;

public interface EverydayDiscardDefectService extends IService<EverydayDiscardDefect> {

    ResultBody queryEverydayDiscardDefect(EverydayDiscardDefectReq everydayDiscardDefectReq);

    void deleteByDate(DiscardDefectReq defectReq);

    ResultBody queryPageEveryHourColdDirect(EverydayDiscardDefectReq everydayDiscardDefectReq);

    List<EverydayDiscardDefect> getByDate(ArrayList<String> date);
}
